package cn.zebra.dev.admin.module.product.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ProductSkuAttributeVO {
    @ApiModelProperty("规格id")
    @NotNull(message = "请选择规格")
    private Long attributeId;

    @ApiModelProperty("属性名")
    @NotBlank(message = "请选择规格")
    private String attributeKey;

    @ApiModelProperty("属性值")
    @NotBlank(message = "请选择规格属性")
    private String attributeValue;
}
